<?php if($this->errMsg) :?>
	<?php $this->showError($this->errMsg)?>
<?php endif; ?>

<form action=""  id="fr" name='fr' method="post"> 
	<div class="title_ad"><label><a href="">Danh sách Nhóm</a></label>
	<a style="text-align:right;float:right;margin-right:20px;" href=""><img src="<?php echo $this->baseUrl()?>/application/templates/admin/images/plus_32.png" /></a></div>
	<table  class="display" id="list">
	<thead>
		<tr>
			<th>ID</th>
			<th>Group Name</th>			
			<th>Tool</th>
		</tr>
	</thead>
	<tbody>
	
	<?php
		foreach($this->data as $row)
		{ 
	?>
		<tr>
			<td width="60"><?php echo $row->id?></td>
			<td><?php echo $row->name;?></td>			
			<td width="80">
				<a href="<?php echo $this->baseUrl()?>/admin/group/edit/id/<?php echo $row->id;?>" title='Edit' class='edit'><img src="<?php echo $this->baseUrl()?>/public/images/edit-icon.png"></img></a>&nbsp;
				<a href="javascript:deleteItem($this)" title='Delete' class='delete'><img src="<?php echo $this->baseUrl()?>/public/images/delete-icon.png"></img></a>
			</td>
		</tr>		
	<?php
		} 		
	?>
	</tbody>
</table>
</form>